<!DOCTYPE html>
<html lang="zh-CN">

<head>
	<meta charset="UTF-8" />
	<meta name="author" content="wangbo" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<title>流程语句</title>
</head>

<body>
	<script>
		while (i < 5) {
			console.log(`i的值是${i}`);
			i++
		}
			// for 相当于 把while 写到了一起
		/* for (let index = 1; index <10; index++) {
			console.log(index);
			console.log(index);
		} */


	</script>
</body>

</html>